package com.fengmi.mapper;

import com.fengmi.entity.ViewSpecOption;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 作者：陈学虎
 * 时间：2021/7/8 0008 下午 2:55
 */
@Mapper
public interface ViewSpecOptionMapper {

    //分页查询
    List<ViewSpecOption> findPage(ViewSpecOption viewSpecOption);

    //查一个
    @Select("select * from view_spec_option where opt_id = #{optId}")
    ViewSpecOption findOne(Integer optId);


}
